package com.dong.bean;

import org.springframework.stereotype.Component;

@Component
public class SgtPeppers implements  CompactDisk {
    private String title="sgt .pepper's lonely Hearts Club Band";
    private String artiist="the beatles";
    public void play() {
        System.out.println("playing "+title+" by "+artiist);
    }
}
